package cn.fuxue.hrms.mapper;

import cn.fuxue.hrms.common.base.BaseMapper;
import cn.fuxue.hrms.common.dto.Login;
import cn.fuxue.hrms.common.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

@Repository
public interface LoginMapper extends BaseMapper<Login,Integer> {

    User findUser(@Param("user_name") String username,@Param("password") String password);

}
